#include "stm32f10x.h"                  // Device header
#include "Delay.h"
#include "LED.h"
#include "Key.h"

uint8_t KeyNum;
int main(void)
{
	
	LED_Init();
	KEY_Init();
	
	while(1)
	{
			KeyNum = KEYNum();
			if(KeyNum == 1)
			{
				//LED_ON_BLUE();
				LED_Return_BLUE();
			}
			
			else if(KeyNum == 2)
			{
				//LED_ON_GREEN();
				LED_Return_GREEN();
			}
			 
	}
	
}
